package com.qm.console.dao.mapper;

import com.qm.console.dao.model.ChatRecordDO;
import com.qm.console.pubdef.dto.user.VideoVoiceListDTO;

import java.util.List;

public interface ChatRecordDOMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ChatRecordDO record);

    int insertSelective(ChatRecordDO record);

    ChatRecordDO selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ChatRecordDO record);

    int updateByPrimaryKey(ChatRecordDO record);

    List<ChatRecordDO> list(VideoVoiceListDTO paramMap);

    int count(VideoVoiceListDTO paramMap);

    List<ChatRecordDO> realTimeList(VideoVoiceListDTO query);

    List<ChatRecordDO> realTimeHistory(VideoVoiceListDTO query);

}